package net.galluzzo.wave.orthopermubot.permutation;

public class FatFingering extends RandomKeyboardPermutation {
	
	public FatFingering( Keyboard keyboard ) {
		super( keyboard );
	}
	
	protected String permute( String str, int index ) {
		return str.substring( 0, index ) +
				keyboard.characterNear( str.charAt( index ) ) + 
				str.substring( index + 1 );
	}
}
